/*
 Navicat Premium Data Transfer

 Source Server         : 192.168.2.221
 Source Server Type    : SQL Server
 Source Server Version : 13004001
 Source Host           : 192.168.2.221:1433
 Source Catalog        : scm_main
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 13004001
 File Encoding         : 65001

 Date: 07/01/2020 08:36:57
*/


-- ----------------------------
-- Table structure for bd_temporary_loan
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[bd_temporary_loan]') AND type IN ('U'))
	DROP TABLE [dbo].[bd_temporary_loan]
GO

CREATE TABLE [dbo].[bd_temporary_loan] (
  [user_serial] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [dep_serial] varchar(255) COLLATE Chinese_PRC_CI_AS  NULL,
  [begin_time] datetime  NULL,
  [end_time] datetime  NULL,
  [gly_no] varchar(20) COLLATE Chinese_PRC_CI_AS  NULL,
  [create_time] datetime  NULL
)
GO

ALTER TABLE [dbo].[bd_temporary_loan] SET (LOCK_ESCALATION = TABLE)
GO

